<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<script type="text/javascript" src="js/script.js"></script>
<%@ taglib prefix="d" tagdir="/WEB-INF/tags"%>
<div>
	<jsp:useBean id="syndromeBean" scope="application" class="com.immunology.bean.SyndromeBean" />
	
	<h2>Огляд</h2>

	<div id="select" align="center">
		<h2 style="display: inline">Синдром:</h2>
		<select id="syndrome" name="syndrome" onChange="loadComplaintList()" >
			<option disabled="disabled" value="0">
				---Виберіть синдром---
			</option>
			<c:forEach items="${syndromeBean.syndromeList }" var="syndrome">
				<option value="<c:out value="${syndrome.id }" />">
					<c:out value="${syndrome.name }" />
				</option>
			</c:forEach>
		</select>
		
	</div>
	
	<br>
	
	<div id="surveyMenu" align="center" style="display:none">
		<d:surveyMenu />
	</div>
	
	<br>
	
	<form id="mainForm" action="AddSurveyToMedicineCardServlet" method="post">

	</form>
	
</div>